﻿using System.Threading.Tasks;
using Abp.Application.Services;
using Partner.Surround.Configuration.Dto;

namespace Partner.Surround.Configuration
{
    /// <summary>
    /// 设置管理应用层服务
    /// </summary>
    public interface IConfigurationAppService : IApplicationService
    {
        Task ChangeUiTheme(ChangeUiThemeInput input);

        #region 系统设置
        /// <summary>
        /// 获取所有设置
        /// </summary>
        /// <returns></returns>
        Task<HostSettingsEditDto> GetAllHostSettings();

        /// <summary>
        /// 更新所有设置
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task UpdateAllHostSettings(HostSettingsEditDto input);
        #endregion
    }
}
